package com.ddwl.schema.vo.goods;

import com.ddwl.schema.vo.dist.GoodsProfitVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;
import java.util.List;

@Getter
@Setter
@ApiModel(description = "商品后台列表Vo")
public class ItemConListVo {
    @ApiModelProperty("ID")
    private String id;
    @ApiModelProperty("商品名称")
    private String itemName;
    @ApiModelProperty("零售价")
    private BigDecimal retailPrice;
    @ApiModelProperty("原价/津贴价")
    private BigDecimal originPrice;
    @ApiModelProperty("商品描述")
    private String itemDesc;
    @ApiModelProperty("商品状态 0下架 1上架")
    private Integer itemStatus;
    @ApiModelProperty("商品图片")
    private List<ItemMediaVo> medias;
    @ApiModelProperty("主图url")
    private String itemImage;
    @ApiModelProperty("分类id")
    private String categoryId;
    @ApiModelProperty("分类名称")
    private String categoryName;
    @ApiModelProperty("推荐")
    private Boolean recommend;
    @ApiModelProperty("销量")
    private Integer sales;
    @ApiModelProperty("评分")
    private Float star;
    @ApiModelProperty("属性列表")
    private String attributeList;
    //    @ApiModelProperty("预购标识")
//    private Boolean reverseSgin = false;
    @ApiModelProperty("活动标识")
    private String activitySgin;
    @ApiModelProperty("商品分销分润信息")
    private GoodsProfitVo goodsProfitVo;
    @ApiModelProperty("商品条码")
    private String barcode;
    @ApiModelProperty("商品排序")
    private Integer itemSort;
    @ApiModelProperty("创建时间")
    private Instant gmtCreated;
    @ApiModelProperty("修改时间")
    private Instant gmtModified;
    @ApiModelProperty("虚拟销量")
    private Integer falseSales;
    @ApiModelProperty("商品预估佣金")
    private BigDecimal itemCommission;
    @ApiModelProperty("供应商id")
    private String supplierId;
    @ApiModelProperty("总销量")
    private Integer sumSales;
    @ApiModelProperty("审核状态(（0待审核 1审核中 2提交的审核通过 3提交的审核驳回 )")
    private Integer auditingStatus;
    @ApiModelProperty("审核阶段（0创建 1初审 2复审)")
    private Integer auditingStage;
    @ApiModelProperty("拒绝原因")
    private String refuseReason;
    @ApiModelProperty("下架原因")
    private String undercarriageReason;
    @ApiModelProperty("下架驳回原因")
    private String undercarriageRefuseReason;
    @ApiModelProperty("该阶段审核通过与否（0审核拒绝 1审核通过）")
    private Integer isAuditingPass;
    @ApiModelProperty("上架状态（0未上架 1已上架）")
    private Integer isStacking;
    @ApiModelProperty("商品标签")
    private String itemSgin;
    @ApiModelProperty("商品标签列表")
    private List<String> itemSgins;
    @ApiModelProperty("小程序码")
    private String wxaCode;
    @ApiModelProperty("是否公益商品 0否 1是")
    private Integer charityFlag;
}
